package com.ruoyi.beforehand.service;

import java.util.List;

import com.ruoyi.attachment.domain.Attachment;
import com.ruoyi.beforehand.domain.InfoBeforehandEvaluate;
import com.ruoyi.beforehand.domain.InfoScoreVo;

/**
 * 事前评估信息Service接口
 *
 * @author ruoyi
 * @date 2022-02-24
 */
public interface IInfoBeforehandEvaluateService
{
    /**
     * 查询事前评估信息
     *
     * @param id 事前评估信息主键
     * @return 事前评估信息
     */
    public InfoBeforehandEvaluate selectInfoBeforehandEvaluateById(Long id);

    /**
     * 查询事前评估信息列表
     *
     * @param infoBeforehandEvaluate 事前评估信息
     * @return 事前评估信息集合
     */
    public List<InfoBeforehandEvaluate> selectInfoBeforehandEvaluateList(InfoBeforehandEvaluate infoBeforehandEvaluate);

    /**
     * 新增事前评估信息
     *
     * @param infoBeforehandEvaluate 事前评估信息
     * @return 结果
     */
    public int insertInfoBeforehandEvaluate(InfoBeforehandEvaluate infoBeforehandEvaluate);

    /**
     * 修改事前评估信息
     *
     * @param infoBeforehandEvaluate 事前评估信息
     * @return 结果
     */
    public int updateInfoBeforehandEvaluate(InfoBeforehandEvaluate infoBeforehandEvaluate);

    /**
     * 批量删除事前评估信息
     *
     * @param ids 需要删除的事前评估信息主键集合
     * @return 结果
     */
    public int deleteInfoBeforehandEvaluateByIds(Long[] ids);

    /**
     * 删除事前评估信息信息
     *
     * @param id 事前评估信息主键
     * @return 结果
     */
    public int deleteInfoBeforehandEvaluateById(Long id);

    List<InfoBeforehandEvaluate> selectInfoBeforehandEvaluatesById(Long id);


    int updateInfoBeforehandEvaluatess(InfoScoreVo infoScoreVo);

    void updateInfoBeforehandEvaluates(InfoBeforehandEvaluate infoBeforehandEvaluate);

    List<InfoBeforehandEvaluate> selectInfoBeforehandEvaluateLists(InfoBeforehandEvaluate infoBeforehandEvaluate);

    List<InfoBeforehandEvaluate> selectInfoBeforehandEvaluateListss(InfoBeforehandEvaluate infoBeforehandEvaluate);

    int uploadFiles(InfoBeforehandEvaluate infoBeforehandEvaluate);

    int uploadMuchFiles(Attachment attachment,Integer type);

    void deleteAttachmentByAttachmentId(Long attachmentId);
}
